Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(taxonomy): added view/create/updated taxonomy field support #3716

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

TylerGauntlett
Copy link
Contributor

@TylerGauntlett TylerGauntlett commented Oct 16, 2024

  • Added support for creating metadata instances with taxonomy field values
  • Added support for updating taxonomy field values on existing instances
  • Added support for showing taxonomy field values on page load

Demos:

2024-10-17 12 09 55 1
2024-10-17 12 09 55 2

@TylerGauntlett TylerGauntlett marked this pull request as ready for review October 17, 2024 16:10
@TylerGauntlett TylerGauntlett requested review from a team as code owners October 17, 2024 16:10
@TylerGauntlett TylerGauntlett changed the title feat(taxonomy): added create/updated taxonomy support feat(taxonomy): added create/updated taxonomy field support Oct 17, 2024
@TylerGauntlett TylerGauntlett changed the title feat(taxonomy): added create/updated taxonomy field support feat(taxonomy): added view/create/updated taxonomy field support Oct 17, 2024
Copy link

@jmcbgaston jmcbgaston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

this.errorCode = ERROR_CODE_FETCH_METADATA;
const baseUrl = this.getMetadataUrl(id);
const url = isMetadataRedesign ? `${baseUrl}?view=hydrated` : baseUrl;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: there are some patterns in this file which use a separate function to build the URLs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have some taxonomy node related API code in progress. I'll look to use some of these patterns as part of that work

@mergify mergify bot merged commit cccb0b0 into box:master Oct 21, 2024
6 checks passed
@TylerGauntlett TylerGauntlett deleted the metadata-taxonomy-field-updating branch October 21, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants